-
Notifications
You must be signed in to change notification settings - Fork 8
Feat: add stacking fault task #397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: add stacking fault task #397
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #397 +/- ##
==========================================
- Coverage 64.89% 64.74% -0.16%
==========================================
Files 35 35
Lines 1641 1645 +4
Branches 202 203 +1
==========================================
Hits 1065 1065
- Misses 532 536 +4
Partials 44 44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adds a new calculator benchmark task for stacking-fault energy evaluation and integrates it into the task/metrics pipelines.
Changes:
- Introduces a new
stacking_faultcalculator task that reads sliding trajectories + CSV labels and reportsMAE_EandMAE_dE. - Adds PCHIP-based interpolation utility for smoothing/resampling energy profiles.
- Registers the new task in calculator task config, model evaluation dispatch, and metrics metadata/post-processing.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
lambench/tasks/calculator/stacking_fault/utils.py |
Adds PCHIP interpolation helper used by stacking-fault metrics. |
lambench/tasks/calculator/stacking_fault/stacking_fault.py |
Implements stacking-fault inference and metric computation. |
lambench/tasks/calculator/calculator_tasks.yml |
Registers stacking_fault test-data location and params. |
lambench/models/ase_models.py |
Dispatches the new task; also changes MACE head selection for inorganic domain. |
lambench/metrics/results/metadata.json |
Adds display/description entries for stacking-fault metrics. |
lambench/metrics/post_process.py |
Includes stacking_fault in domain-specific post-processing. |
lambench/metrics/downstream_tasks_metrics.yml |
Adds stacking-fault to downstream task metrics config (metrics + dummy). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.